package com.woniuxy.oldmanapi.cvo;

import com.woniuxy.oldmanapi.entity.WarehouseDetail;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class WarehouseVo {

    private Integer id;
    private List<WarehouseDetailVo> warehouseDetailVos;

    @Column(name = "orderNum")
    private String ordernum;

    private String buyer;

    @Column(name = "buyTime")
    private String buytime;//不用

    @Column(name = "createTime")
    private Date createtime;

    @Column(name = "totalPrice")
    private BigDecimal totalprice;

    private String desc;

    private Integer state;
}
